import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {HorizontalGridComponent} from './components/horizontal-grid/horizontal-grid.component';
import {ImageSliderComponent} from './components/image-slider/image-slider.component';
import {ScrollableTabComponent} from './components/scrollable-tab/scrollable-tab.component';
import {GirdItemDirective} from './directives/gird-item.directive';
import {GridItemImageDirective} from './directives/grid-item-image.directive';
import {GridItemTitleDirective} from './directives/grid-item-title.directive';
import {AgoPipe} from './pipes/ago.pipe';
import {CountDownComponent} from './components/count-down/count-down.component';
import {FooterComponent} from './components/footer/footer.component';
import { VerticalGridComponent } from './components/vertical-grid/vertical-grid.component';
import { ProductCardComponent } from './components/product-card/product-card.component';
import { TagDirective } from './directives/tag.directive';
import { AvatarDirective } from './directives/avatar.directive';
import { ProductTileComponent } from './components/product-tile/product-tile.component';
import { BackButtonComponent } from './components/back-button/back-button.component';
import {DialogModule} from '../dialog/dialog.module';
import { GridItemDirective } from './directives/grid-item.directive';


@NgModule({
  declarations: [
    HorizontalGridComponent,
    ImageSliderComponent,
    ScrollableTabComponent,
    CountDownComponent,
    FooterComponent,
    VerticalGridComponent,
    ProductCardComponent,
    ProductTileComponent,
    BackButtonComponent,
    GirdItemDirective,
    GridItemImageDirective,
    GridItemTitleDirective,
    TagDirective,
    AvatarDirective,
    GridItemDirective,
    AgoPipe,
  ],
  imports: [
    CommonModule,
    FormsModule
  ],
  exports: [
    CommonModule,
    FormsModule,
    DialogModule,
    HorizontalGridComponent,
    ImageSliderComponent,
    ScrollableTabComponent,
    CountDownComponent,
    FooterComponent,
    VerticalGridComponent,
    ProductCardComponent,
    ProductTileComponent,
    BackButtonComponent,
    GirdItemDirective,
    GridItemImageDirective,
    GridItemTitleDirective,
    TagDirective,
    AvatarDirective,
    GridItemDirective,
    AgoPipe
  ]
})
export class SharedModule {
}
